﻿<Window x:Class="GurLoader.View.LoginView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
        xmlns:cmd="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Extras.WPF4"
        xmlns:view="clr-namespace:GurLoader.View"
        xmlns:command="http://www.galasoft.ch/mvvmlight"
        Title="Imgur Login" Height="500" Width="700">
    <Grid>
        <WebBrowser view:WebBrowserBehaviors.BindableSource="{Binding Path=CurrentUri}">
            <i:Interaction.Triggers>
                <i:EventTrigger EventName="Navigated">
                    <command:EventToCommand Command="{Binding Mode=OneWay, Path=NavigatedCommnad}"
                            PassEventArgsToCommand="True" />
                </i:EventTrigger>
            </i:Interaction.Triggers>
        </WebBrowser>
    </Grid>
</Window>
